//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
/* Copyright 2000-2001 Intel Corp.  */
/*++

Module Name:  DMACBits.h

Abstract:
  Contains macro definitions for the DMAC controller on the Cotulla

Functions:


Notes:

--*/

#ifndef __DMACBits_H__
#define __DMACBits_H__

///////////////////////////////////////////////////////////////////////////////

//
// Channel Masks
//

#define DMA_CH_RCV	4
#define DMA_CH_MIC	5
#define DMA_CH_OUT	1

//So far we only have 3 DMA channels spoken for (out of 16)

// DEFINE					//bit number
//#define DMAC_SSPREC
//#define DMAC_SSPXMIT
#define DMAC_AC97AUDIOXMIT	(0x1 << DMA_CH_OUT)  //
#define DMAC_AC97AUDIORCV	(0x1 << DMA_CH_RCV)  //
//#define DMAC_AC97MODEMXMIT
//#define DMAC_AC97MODEMRCV
#define DMAC_AC97MIC		(0x1 << DMA_CH_MIC)  //

//#define DMAC_FFUARTXMIT
//#define DMAC_FFUARTRCV
//#define DMAC_BTUARTXMIT
//#define DMAC_BTUARTRCV
//#define DMAC_I2SXMIT
//#define DMAC_I2SRCV
//#define DMAC_DREQ1
//#define DMAC_DREQ0

//define                    //bit number //cba9876543210
#define DMA_AUDIO_INTR      (DMAC_AC97AUDIOXMIT | DMAC_AC97AUDIORCV |DMAC_AC97MIC)	     //0000000011001
#define DMA_BVDCI_INTR		(0x1 << DMA_CH_CAM)


#endif
